<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}" />
    <script type="text/javascript" th:src="@{/js/jquery.min.js}" ></script>
    <script type="text/javascript" th:src="@{/js/bootstrap.min.js}" ></script>
</head>
<body>
<table class="table table-responsive" width="500px" border="1px" cellpadding="3px" cellspacing="2px">
   <thead>
       <tr>
           <td class="active">编号</td>
           <td class="success">名称</td>
           <td class="active">价格</td>
           <td>数量</td>
           <td>操作</td>
       </tr>
   </thead>
   <tbody>
   <tr th:each="item:${page.list}">
       <td th:text="${item.id}"></td>
       <td th:text="${item.pname}"></td>
       <td th:text="${item.price}"></td>
       <td th:text="${item.pnum}"></td>
       <td>
           <a class="glyphicon glyphicon-home" th:href="@{/delete_User.do/{id}(id=${item.id})}">删除</a>
           <!--<a th:href="@{'/delete_User.do?id='+${user.userId}}">删除</a>-->
           <a th:href="@{'/query_UserByID.do?id='+${item.id}}">修改</a>
       </td>
   </tr>
   </tbody>
</table>
</body>
</html>